// 执行流：catch -> then
new Promise((resolve, reject) => {
    console.info("executor");
    throw new Error("Whoops!");
  
  }).catch(function(error) {
  
    console.info("The error is handled, continue normally");
  
  }).then(() => console.info("Next successful handler runs"));